package com.exin.openfeign.config;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties("feign.reduce")
public class FeignNameConvertProperties {
	
	private String defaultConversion;
	
	private List<String> excludeConversions;
	
	private Map<String, String> conversions = new HashMap<>();

	public Map<String, String> getConversions() {
		return conversions;
	}

	public void setConversions(Map<String, String> conversions) {
		this.conversions = conversions;
	}

	public String getDefaultConversion() {
		return defaultConversion;
	}

	public void setDefaultConversion(String defaultConversion) {
		this.defaultConversion = defaultConversion;
	}

	public List<String> getExcludeConversions() {
		return excludeConversions;
	}

	public void setExcludeConversions(List<String> excludeConversions) {
		this.excludeConversions = excludeConversions;
	}
	
}
